<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>普通导航</title>
    <style>
        .sp1{
            color: white;
            width: 80px;
            height: 50px;
            background-color: #ff0000;
            display: inline-block;
        }
        .sp1:hover{
            color: white;
            width: 80px;
            height: 50px;
            background-color:#ffa500;
            display: inline-block;
        }
        div{
            line-height: 50px;
            text-align: center;
        }
    </style>
</head>
<body>
    <span class="sp1"><div>导航1 </div></span>
    <span class="sp1"><div>导航2 </div></span>
    <span class="sp1"><div>导航3 </div></span>
    <span class="sp1"><div>导航4 </div></span>
    <span class="sp1"><div>导航5 </div></span>
</body>
</html>